const accountInfo = wx.getAccountInfoSync()
const env = accountInfo.miniProgram.envVersion

const urlMap = {
  "develop": {
    url: "http://192.168.76.39/index.php?s=/api"
  },
  "trial": {
    url: "http://192.168.76.39/index.php?s=/api"
  },
  "release": {
    url: "http://192.168.76.39/index.php?s=/api"
  }
}

export const baseUrl = urlMap[env].url || ""